<?php
class Options {
	public static function uploadImagePath() {
		return URL::to('/')."../../../uploadImages";	
	}
	
	const	
	HOME_URL = 'http://www.sabahkini.com',
	DATE_TIME_FORMAT = "H:m M d, Y",
	
	CAPTCHA_PUBLIC_KEY = '6Lcd6voSAAAAAHxFqsJMJA0WcO_ZDSlTqbkvQX8j',
	CAPTCHA_PRIVATE_KEY = '6Lcd6voSAAAAAF8ANo05pmrEKHBdd3Ftymcv6DZ1',
	
	GENDER_FEMALE = 'F',
	GENDER_MALE = 'M',
	
	LANGUAGE_EN = 'en',
	LANGUAGE_MY = 'my',
	
	USER_ROLE_ADMIN = 1,
	
	STATUS_ACTIVE = 1,
	STATUS_INACTIVE = 0,
	STATUS_DELETED = -1,
	
	DB_TABLE_CATEGORIES = 'categories',
	DB_TABLE_COMMENTS = 'comments',
	DB_TABLE_LANGUAGES = 'language',
	DB_TABLE_NEWS = 'news',
	DB_TABLE_ROLES = 'roles',
	DB_TABLE_USERS = 'users',

	COMMENTS_PRIMARY_REPLIEDTO = -1,
	
	PAGE_HOME_TOP_NEWS_RSS_LIMIT = 10,
	PAGE_HOME_MOST_VIEWED_LIMIT = 2,
	PAGE_HOME_MOST_COMMENTED_LIMIT = 2,
	PAGE_HOME_LATEST_NEWS_LIMIT = 4,
	PAGE_HOME_CATEGORY_LIMIT = 2,
	
	PAGE_HOME_LATEST_NEWS_DESC_WITH_IMG_CHAR = 80,
	PAGE_HOME_LATEST_NEWS_DESC_WITHOUT_IMG_CHAR = 80,
	
	PAGE_HOME_CATEGORY_DESC_WITH_IMG_CHAR = 80,
	PAGE_HOME_CATEGORY_DESC_WITHOUT_IMG_CHAR = 80,
	
	PAGE_NEWS_DETAILS_COMMENT_CAPTCHA_OK = 'reCAPTCHA_OK',
	PAGE_NEWS_DETAILS_COMMENT_CAPTCHA_ERROR = 'reCAPTCHA_ERROR',
		
	PAGE_NEWS_DETAILS_COMMENT_MESSAGE_BLANK = 'commentBlank',
	PAGE_NEWS_DETAILS_COMMENT_STATUS_POSTED = 'posted',
	PAGE_NEWS_DETAILS_COMMENT_STATUS_VIEW = 'view';
}